/*
 * Copyright (c) 2023, 2023,yzc.cn All rights reserved.
 *
 */
package cn.yzc.mapper;

import cn.yzc.pojo.Emp;
import org.apache.ibatis.annotations.Select;


import java.util.List;
import java.util.Set;

/**
 * <p>Project: MybatisPro - DbMapper</p>
 * <p>Powered by yzc On 2023-10-07 14:08:53</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
public interface DbMapper {

 public String version();
  @Select("show databases")
  public Set<String> dbs();

  @Select("show tables ")
  public List<String> tbs();

  @Select("select * from emp where  name like '%张%'")
  public List<Emp> select();
  
  public Emp byId(int id);


}
